from . import views
from django.urls import path, re_path


urlpatterns = [

    re_path(r'^api/v1.0/user/$', views.UserDataView.as_view()),
    re_path(r'^api/v1.0/user/avatar$', views.AvatarView.as_view()),
    re_path(r'^api/v1.0/user/name$', views.ModifyUsernameView.as_view()),
    path('api/v1.0/session', views.LoginView.as_view()),
    path('api/v1.0/users', views.RegistView.as_view()),
    path('api/v1.0/user/auth', views.AuthView.as_view())


]

